Massimo Valentini [Fri, 4 May 2012 17:04:30 +0000 (19:04 +0200)]
extensions: cairo ARGB format is premultiplied
Massimo Valentini [Fri, 4 May 2012 17:04:03 +0000 (19:04 +0200)]
babl: initialize 'palette' babl-format member
otherwise non-palette formats could be mistakenly used as palette
Simon Budig [Thu, 3 May 2012 11:32:55 +0000 (13:32 +0200)]
fix a warning
Øyvind Kolås [Wed, 2 May 2012 21:51:10 +0000 (23:51 +0200)]
fix cpu-accel test for 64bit
Øyvind Kolås [Wed, 2 May 2012 21:48:54 +0000 (23:48 +0200)]
only enable sse-fixups when not on 64bit
Øyvind Kolås [Wed, 2 May 2012 21:10:16 +0000 (23:10 +0200)]
tests: add more float->8bit tests
Øyvind Kolås [Wed, 2 May 2012 21:00:46 +0000 (23:00 +0200)]
tests: split utility function out into common.inc
Øyvind Kolås [Wed, 2 May 2012 00:34:42 +0000 (02:34 +0200)]
directly use stdint types in half-float reference code
Øyvind Kolås [Wed, 2 May 2012 00:27:19 +0000 (02:27 +0200)]
use stdint types for sized data types
Øyvind Kolås [Tue, 1 May 2012 11:40:28 +0000 (13:40 +0200)]
also test >1.0 values when converting from float to u8
Simon Budig [Tue, 1 May 2012 11:35:58 +0000 (13:35 +0200)]
add simple test for float->u8 conversion
Øyvind Kolås [Tue, 1 May 2012 00:34:18 +0000 (02:34 +0200)]
add some standard u32 based formats
Øyvind Kolås [Mon, 30 Apr 2012 02:47:45 +0000 (04:47 +0200)]
further slight decrease of error in conversion
Øyvind Kolås [Sun, 29 Apr 2012 23:04:33 +0000 (01:04 +0200)]
decrease error of float to 8bit LUT extension
Øyvind Kolås [Wed, 25 Apr 2012 23:17:41 +0000 (01:17 +0200)]
add babl_format_get_model
Øyvind Kolås [Wed, 25 Apr 2012 23:07:00 +0000 (01:07 +0200)]
add some half-float based formats
Øyvind Kolås [Mon, 23 Apr 2012 23:26:30 +0000 (01:26 +0200)]
Revert "replace gamma functions with #defines"
This reverts commit
fd11d181d043e56168572c08f932f6d0379615e3.
Øyvind Kolås [Mon, 23 Apr 2012 23:20:50 +0000 (01:20 +0200)]
Revert "guard gamma defines' argument in extra ()s"
This reverts commit
18b4f45d258c75ea4e5c30b7f9a792aded31c196.
Øyvind Kolås [Mon, 23 Apr 2012 23:20:39 +0000 (01:20 +0200)]
Revert "Revert "allocate temporary buffers for fish conversion on the stack""
This reverts commit
70e984d454618a219a5f472915e004da623726a6.
Øyvind Kolås [Mon, 23 Apr 2012 22:59:23 +0000 (00:59 +0200)]
guard gamma defines' argument in extra ()s
Øyvind Kolås [Mon, 23 Apr 2012 15:58:15 +0000 (17:58 +0200)]
Revert "allocate temporary buffers for fish conversion on the stack"
This reverts commit
290ce9308f7b18f15398707e2d948f8745dd0be0.
I don't think it should, but it seems like it breaks expected behavior.
Øyvind Kolås [Sun, 22 Apr 2012 23:53:27 +0000 (01:53 +0200)]
replace gamma functions with #defines
Causes some slight speedup across babl on less agressive optimization
levels.
Øyvind Kolås [Sun, 22 Apr 2012 23:07:14 +0000 (01:07 +0200)]
allocate temporary buffers for fish conversion on the stack
This avoids calling malloc/free for fishes that consists of multiple steps.
Øyvind Kolås [Sat, 21 Apr 2012 23:31:05 +0000 (01:31 +0200)]
base: added IEEE 754-2008 half precision float
Using BSD licensed code that means applications using babl should display the
appropriate copyright header - or this code needs to be reimplemented so that
babl can retain the functionality without that additional requirement.
Øyvind Kolås [Tue, 10 Apr 2012 22:05:28 +0000 (00:05 +0200)]
tests: added test to extract a component
Dominique Leuenberger [Tue, 10 Jan 2012 16:32:50 +0000 (17:32 +0100)]
gobject-introspection: fix build of the .gir and .typelib files.
Øyvind Kolås [Thu, 5 Apr 2012 14:39:15 +0000 (16:39 +0200)]
babl/babl-palette.c: remove include of <values.h>
No longer needed when limits.h is included.
Øyvind Kolås [Thu, 5 Apr 2012 14:35:51 +0000 (16:35 +0200)]
babl/babl-palette.c: #include <limits.h>
Fixing bug #673466 from reported by Tim Mooney, makes babl build on solaris.
Øyvind Kolås [Mon, 2 Apr 2012 21:37:01 +0000 (22:37 +0100)]
post release bump version to 0.1.11
Øyvind Kolås [Mon, 2 Apr 2012 21:35:06 +0000 (22:35 +0100)]
release 0.1.10
Øyvind Kolås [Mon, 2 Apr 2012 21:25:22 +0000 (22:25 +0100)]
Get rid of ChangeLog
Only sentimental reasons to keep it around.
Øyvind Kolås [Sun, 1 Apr 2012 18:41:47 +0000 (19:41 +0100)]
extensions: quadruple precision of LUT based floatfuncs
(without increasing the size of the lookup tables, with neglible
performance cost)
Øyvind Kolås [Sun, 1 Apr 2012 14:08:13 +0000 (15:08 +0100)]
fast-float: reduce overhead of saturating LUT
Øyvind Kolås [Sun, 1 Apr 2012 14:03:10 +0000 (15:03 +0100)]
extensions/fast-float: reduce precision
Reduce sizes of lookup tables by an order of magnitude, doubling the run-time
performance.
Øyvind Kolås [Sun, 1 Apr 2012 02:08:53 +0000 (03:08 +0100)]
extensions: add lut based gamma for float
Øyvind Kolås [Sat, 31 Mar 2012 16:08:16 +0000 (17:08 +0100)]
babl: reduce number of pixels tested when profiling to 128
Øyvind Kolås [Sat, 31 Mar 2012 14:34:31 +0000 (15:34 +0100)]
extensions: get rid of some of the conversions with the highest errors
Øyvind Kolås [Sat, 31 Mar 2012 14:06:52 +0000 (15:06 +0100)]
extensions: remove optmized powf, use the fully correct optimization from base
Øyvind Kolås [Sat, 31 Mar 2012 13:58:49 +0000 (14:58 +0100)]
extensions: add an extension with some float optimizations
Alos improve some alpha unpremultiplications in other extensions.
Øyvind Kolås [Sat, 31 Mar 2012 13:58:16 +0000 (14:58 +0100)]
base/util.h change define used in include guards
Øyvind Kolås [Sat, 31 Mar 2012 02:47:06 +0000 (03:47 +0100)]
use optimized powf for x^(1.0/2.4)
Øyvind Kolås [Sat, 31 Mar 2012 02:44:45 +0000 (03:44 +0100)]
reorder loops of reference premul
Øyvind Kolås [Sat, 31 Mar 2012 01:50:43 +0000 (02:50 +0100)]
use sse conversions also for gamma corrected data
Øyvind Kolås [Thu, 29 Mar 2012 23:37:00 +0000 (00:37 +0100)]
post release version bump to 0.1.9
Øyvind Kolås [Thu, 29 Mar 2012 23:33:09 +0000 (00:33 +0100)]
bump version to 0.1.8
Also updated NEWS
Øyvind Kolås [Thu, 29 Mar 2012 23:31:43 +0000 (00:31 +0100)]
build: do not enable introspection even for distcheck
Øyvind Kolås [Thu, 29 Mar 2012 23:14:49 +0000 (00:14 +0100)]
palette: return the same values if same name is provided
Øyvind Kolås [Wed, 28 Mar 2012 19:28:48 +0000 (20:28 +0100)]
palette: change alpha reporting for palette formats
Only return TRUE if the format has a dedicated alpha component.
Øyvind Kolås [Mon, 26 Mar 2012 14:29:12 +0000 (15:29 +0100)]
palette: use INT_MAX instead of MAXINT
Øyvind Kolås [Wed, 21 Mar 2012 18:13:38 +0000 (18:13 +0000)]
add babl_format_is_palette
Øyvind Kolås [Mon, 19 Mar 2012 15:24:36 +0000 (15:24 +0000)]
palette: return the BablModel created
Øyvind Kolås [Mon, 19 Mar 2012 12:46:45 +0000 (12:46 +0000)]
disable gobject introspection by default
The tooling crashes with odd strlen assertions breaking the build on many
existing linux distros. This change should make gobject introspection
disabled by defualt.
Øyvind Kolås [Mon, 19 Mar 2012 02:55:32 +0000 (02:55 +0000)]
palette: optimize rgb(a) -> palette index computation
Øyvind Kolås [Sun, 18 Mar 2012 22:10:20 +0000 (22:10 +0000)]
palette: add fast paths for adding and removing alpha channel
Øyvind Kolås [Sun, 18 Mar 2012 16:57:04 +0000 (16:57 +0000)]
tests: constify tests
Øyvind Kolås [Sun, 18 Mar 2012 15:58:11 +0000 (15:58 +0000)]
constify API
Øyvind Kolås [Sun, 18 Mar 2012 15:00:07 +0000 (15:00 +0000)]
palette: add fastish path for alpha<->no alpha
Øyvind Kolås [Sun, 18 Mar 2012 14:17:04 +0000 (14:17 +0000)]
carry around user data in BablConversion
Having the user data for relevant conversions directly in BablConversion
permits avoiding branches in the dispatch code. Branches in dispatch code
is evil, thus desinging the rest around avoiding that.
Øyvind Kolås [Sun, 18 Mar 2012 13:10:19 +0000 (13:10 +0000)]
palette: changed API to have aplha and non-alpha formats in out arguments
Øyvind Kolås [Sun, 18 Mar 2012 11:39:12 +0000 (11:39 +0000)]
make babl pass valgrinding
Øyvind Kolås [Sun, 18 Mar 2012 02:52:00 +0000 (02:52 +0000)]
palette: initialize with 8bit fast path buffer
Øyvind Kolås [Sun, 18 Mar 2012 00:10:52 +0000 (00:10 +0000)]
add 8bit fast path for pal -> rgba
Øyvind Kolås [Sat, 17 Mar 2012 23:54:49 +0000 (23:54 +0000)]
add bablformats that match the hosts endianness
Øyvind Kolås [Sat, 17 Mar 2012 19:39:21 +0000 (19:39 +0000)]
palette: cache the double version of the palette internally
Øyvind Kolås [Sat, 17 Mar 2012 17:02:44 +0000 (17:02 +0000)]
palette: add capability to use palette formats with separate alpha
Also refactored to make babl-palette.c only use public API.
Øyvind Kolås [Sat, 17 Mar 2012 12:32:47 +0000 (12:32 +0000)]
add file missing from last commit
Øyvind Kolås [Sat, 17 Mar 2012 12:22:10 +0000 (12:22 +0000)]
add API for managing palette based formats
Øyvind Kolås [Sat, 17 Mar 2012 12:18:54 +0000 (12:18 +0000)]
babl: add ability to register user data with BablModel
The user data is available in the callback functions, no ABI change only
processing functions interested in this data needs to define the arguments,..
keeping ABI compatibility.
Øyvind Kolås [Fri, 16 Mar 2012 11:53:45 +0000 (11:53 +0000)]
tests: add missing test
Øyvind Kolås [Fri, 16 Mar 2012 11:25:59 +0000 (11:25 +0000)]
add ability to extract component with 1 component formats
Øyvind Kolås [Thu, 15 Mar 2012 22:11:56 +0000 (22:11 +0000)]
constify source argument of babl_process
Øyvind Kolås [Fri, 23 Dec 2011 11:44:14 +0000 (11:44 +0000)]
base: remove unused model-cmyk
Øyvind Kolås [Fri, 18 Nov 2011 18:47:02 +0000 (18:47 +0000)]
post release version bump to 0.1.7
Øyvind Kolås [Fri, 18 Nov 2011 18:44:58 +0000 (18:44 +0000)]
bump version to 0.1.6
Nils Philippsen [Fri, 18 Nov 2011 16:36:04 +0000 (17:36 +0100)]
build: clean generated vapi file
Øyvind Kolås [Mon, 17 Oct 2011 17:07:19 +0000 (18:07 +0100)]
build: bump automake requirement to 1.11
This is needed for the silent build rules, and probably more.
Javier Jardón [Mon, 17 Oct 2011 16:04:38 +0000 (17:04 +0100)]
Copy introspection.m4 on tree
This avoid us to depend on a system installed gobject-introspection
package.
Javier Jardón [Mon, 17 Oct 2011 12:36:42 +0000 (13:36 +0100)]
build: Set automake options in AM_INIT_AUTOMAKE
Javier Jardón [Mon, 17 Oct 2011 12:35:11 +0000 (13:35 +0100)]
Makefile.am: Remove m4/introspection.m4 from EXTRA_DIST
Javier Jardón [Mon, 17 Oct 2011 12:21:53 +0000 (13:21 +0100)]
build: Do not use local copy of introspection.m4
Javier Jardón [Mon, 17 Oct 2011 02:00:44 +0000 (03:00 +0100)]
autogen.sh: Use autoreconf instead custom script
Javier Jardón [Mon, 17 Oct 2011 01:56:07 +0000 (02:56 +0100)]
configure.ac: Replace deprecated AC_STDC_HEADERS macro
Javier Jardón [Mon, 17 Oct 2011 01:55:08 +0000 (02:55 +0100)]
configure.ac: Use new libtool syntax
Javier Jardón [Mon, 17 Oct 2011 01:52:51 +0000 (02:52 +0100)]
configure.ac: Check for AM_SILENT_RULES after AM_INIT_AUTOMAKE
Javier Jardón [Mon, 17 Oct 2011 01:50:10 +0000 (02:50 +0100)]
configure.ac: PACKAGE_NAME is already defined by AC_INIT
Javier Jardón [Mon, 17 Oct 2011 01:48:47 +0000 (02:48 +0100)]
configure.ac: Replace AM_CONFIG_HEADER deprecated macro
Use AC_CONFIG_HEADERS instead
Javier Jardón [Mon, 17 Oct 2011 01:47:21 +0000 (02:47 +0100)]
Makefile.am: honor aclocal flags
Mukund Sivaraman [Mon, 12 Sep 2011 19:22:06 +0000 (00:52 +0530)]
build: Remove --enable-maintainer-mode as it's now the default
Mukund Sivaraman [Mon, 12 Sep 2011 19:20:21 +0000 (00:50 +0530)]
build: Don't complain about non-GNU make rules
Mukund Sivaraman [Mon, 12 Sep 2011 19:08:29 +0000 (00:38 +0530)]
build: Enable maintainer mode by default
See <http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/>.
Michael Muré [Fri, 19 Aug 2011 20:32:07 +0000 (22:32 +0200)]
add the possibility to distinct format_n type from the others
Jon Nordby [Wed, 3 Aug 2011 22:45:04 +0000 (00:45 +0200)]
Fix install of babl vapi file
The pkg-config package refered no longer exists,
and currently only libvala provides a vapidir in pkg-config,
and this package is versioned and changes all the time.
Other projects just use $(datadir)/vala/vapi, so we do the same
Jon Nordby [Wed, 3 Aug 2011 21:13:29 +0000 (23:13 +0200)]
Build Vala support (.vapi file) by default
Generated from .gir file.
Barak Itkin [Thu, 21 Jul 2011 14:33:17 +0000 (17:33 +0300)]
Remove trailing space in comments
Nils Philippsen [Thu, 26 May 2011 20:50:57 +0000 (22:50 +0200)]
mask out unwanted formats with if(0) {...}
premature return statements make source code checkers unhappy
Nils Philippsen [Thu, 26 May 2011 14:04:54 +0000 (16:04 +0200)]
get rid of hack_hack(), use NEEDS_BABL_DB instead
Nils Philippsen [Thu, 26 May 2011 13:37:09 +0000 (15:37 +0200)]
catch babl_{format,model}_new calls with missing parameters
Nils Philippsen [Thu, 26 May 2011 10:34:14 +0000 (12:34 +0200)]
add comment about case falling through
this makes code checker tools happy and the code easier to understand
Nils Philippsen [Thu, 26 May 2011 10:22:23 +0000 (12:22 +0200)]
fix element size when allocating chain_table
Øyvind Kolås [Thu, 21 Apr 2011 11:00:31 +0000 (12:00 +0100)]
Do not reject colliding conversion names
Permit registering multiple conversions between the same formats from the same
extension. Babl was rejecting subsequent conversions/variations in the same
module; this is desired for most other types of babl objects but not
conversions.